使用JDBC连接MySql时出现:The server time zone value 'й׼ʱ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration - EasonJim - 博客园

创建时间:2019/7/23 18:21
来源:https://www.cnblogs.com/EasonJim/p/6906713.html


使用JDBC连接MySql时出现:The server time zone value 'й׼ʱ' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration

posted @ 2017-05-26 04:46 EasonJim 阅读(38261) 评论(8) 编辑 收藏

评论列表
  
#1楼 2017-06-21 12:51 人生设计师  
很赞,解决了问题。
  
#2楼 2018-08-31 09:14 做总统的小白  
  
#3楼 2019-01-07 11:31 337245354  
我的是改成了:jdbc:mysql://localhost:3306/test?serverTimezone=GMT 之后才好的。
jdbc是mysql-connector-java-8.0.11.jar,设置过时区 set time_zone = '+8:00';
  
#4楼 2019-03-23 23:16 mooove  
博主牛逼
  
#5楼 2019-04-08 13:28 明天待明天  
博主牛逼,解决了问题。
  
#6楼 2019-05-07 21:37 坟雾问  
确实可以,感谢帮忙。
  
#7楼 2019-05-25 14:24 一物22  
谢谢了 老铁 抱拳
  
#8楼 2019-06-25 19:06 JojoSun  
多谢 解决了
注册用户登录后才能发表评论,请 登录注册访问网站首页。